import java.util.Random;


public class Client {

	final int clientId;
	public int noOfGuesses;
	int answer;
	Random r = new Random(System.currentTimeMillis());

	public Client(int clientId, int noOfGuesses){
		this.clientId = clientId;
		this.noOfGuesses = noOfGuesses;
		answer = r.nextInt(100);
	}

	public int getClientID() {
		return clientId;
	}

	public int addGuess() {
		noOfGuesses++;
		return noOfGuesses;
	}
	
	public void resetAnswer(){
		answer = r.nextInt(100);
		noOfGuesses = 0;
	}
	


}
